package com.my.chapter10;
import net.mindView.interfaces.C10P6;
import net.mindView.implement.C10P9Outer;

public class practice6 {
    public static void main(String[] args) {
        P06 p = new P06();
        C10P6 c = p.getInner();
        c.get();
    }
}

class P06 extends C10P9Outer{
    public C10P6 getInner(){
        return new C10P9Outer.Inner();
        //return new C10P9Outer.Inner();//Error:Inner() 是 protected 访问控制
        //return new Inner();//Error:Inner() 是 protected 访问控制
        //return this.new Inner();//Error:Inner() 是 protected 访问控制
    }
}
